package com.meadvc.ssmdemo.service;

import com.alibaba.fastjson.JSONObject;

public interface ComponentService {

    JSONObject listComps(String query, int pagenum, int pagesize);

    JSONObject addComps(JSONObject requestJson);

    JSONObject updateComps(JSONObject requestJson);

    JSONObject deleteComps(JSONObject requestJson);

    JSONObject listSuppliers();

    JSONObject getComps(int cid);

    JSONObject listCompNames();

    JSONObject getCompsByName(String cname);


}
